﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<object>" %>

<asp:Content ContentPlaceHolderID="PageTitle" runat="server">密码找回</asp:Content>
<asp:Content ContentPlaceHolderID="ViewTitle" runat="server">密码找回</asp:Content>
<asp:Content ContentPlaceHolderID="StyleContent" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderID="ViewContent" runat="server">

    <div style="width: 80%; margin-left: auto; margin-right: auto; border-top: 1px solid #3f4954; <%: ViewBag.SubmitSuccess ? "display:none;" : string.Empty %>">
        <br />
        <form role="form" action='/Account/Forget' method="post">
            <%: Html.AntiForgeryToken() %>
            <div class="text-center">
                <h4>账号信息</h4>
            </div>
            <br />
            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon" style="background: #28b779;">
                        <i class="cus-icon-user"></i>
                    </div>
                    <input class="form-control" type="text" placeholder="工号" id="UserName" name="UserName" required="true" data-msg-required="请输入工号。" />
                </div>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon" style="background: #28b779;">
                        <i class="cus-icon-phone"></i>
                    </div>
                    <input class="form-control" type="text" placeholder="手机号" id="TelNo" name="TelNo" required="true" data-msg-required='请输入手机号, 没有手机号则输入 "X"。' />
                </div>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon" style="background: #28b779;">
                        <i class="cus-icon-email"></i>
                    </div>
                    <input class="form-control" type="email" placeholder="注册邮箱" id="Email" name="Email" required="true" data-msg-required="请输入注册邮箱。" />
                </div>
            </div>
            <div style="border-bottom: 1px solid #3f4954; height: 40px;">
                <div class="text-center">
                    <%: Html.ValidationSummary() %>
                </div>
            </div>
            <div style="height: 5px;"></div>
            <div class="text-right">
                <button type="submit" class="btn btn-success"><i class="icon-"></i>&nbsp;提交&nbsp;</button>
                &nbsp;<a class="btn btn-success" href='<%:Url.Action("Login") %>'><i class="cus-icon-back"></i>取消</a>
            </div>
        </form>
    </div>
    <div class="center-block" style='width: 80%; <%: !ViewBag.SubmitSuccess ? "display:none;" : string.Empty %>'>
        <br />
        <br />
        <div class="row">
            <div class="col-xs-2 text-right" style="min-width: 20px; vertical-align: middle; margin-top: 10px;">
                <i class="cus-icon-accept"></i>
            </div>
            <div class="col-xs-10 text-left">
                新密码已经发送到您的邮箱。 登录后，请及时修改密码。
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ContentPlaceHolderID="ViewFooter" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderID="ScriptContent" runat="server"></asp:Content>
